#ifndef  _CHATMANAGERLISTENER_H_
#define  _CHATMANAGERLISTENER_H_

class Chat;

/**
 * A listener for chat related events.
 *
 * @author
 */
class ChatManagerListener {
public:
	virtual ~ChatManagerListener(){};
    /**
     * Event fired when a new chat is created.
     *
     * @param chat the chat that was created.
     * @param createdLocally true if the chat was created by the local user and false if it wasn't.
     */
	virtual void chatCreated(Chat * chat, bool createdLocally) = 0;
};
#endif   /* ----- #ifndef _CHATMANAGERLISTENER_H_ ----- */

